package com.wufeng.spring02_ioc;

public class UseFunctionService {
    FunctionService functionService;

    public UseFunctionService() {
        super();
    }

    public UseFunctionService(FunctionService functionService) {
        super();
        this.functionService = functionService;
    }

    public void setFunctionService(FunctionService functionService) {
        this.functionService = functionService;
    }

    public void sayHello() {
        functionService.sayHello();
    }
}
